import { RouteRecordRaw } from 'vue-router';

export type ExtendedRouteRecordRaw = RouteRecordRaw & {
  meta?: {
    icon?: string;
  };
};

export type DataNode = {
  [key: string]: string | DataNode | DataNode[] | string[];
};

export type TransformResult = {
  menus: string[];
  perms: string[];
};
